
function onImgClick(index, imgUrl, imgId) {
    parent.document.getElementById(imgID).src = imgUrl
    console.log(imgId);
    console.log(imgID);
    //parent.$('\'#'+imgID+'\'').attr("src", imgUrl)
    window.parent.dataMap.put(imgID, imgId);
    parent.layer.close(index);
}